<%@page import="java.util.ArrayList"%>
<%@page import="com.cmy.www.UserMas"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>updatePanel</title>
	</head>
	<body>
		<h1>修改界面</h1>
		<form action="<%=request.getContextPath()%>/AddressBookServlet" method="post">
			<%
				String upID = request.getParameter("upID");
				String upName = request.getParameter("upName");
				String upSex = request.getParameter("upSex");
				String upBirth = request.getParameter("upBirth");
				String upPhone = request.getParameter("upPhone");
				String upAddress = request.getParameter("upAddress");
			%>
	
			编号：<input type="text" name="id" value="<%=upID%>">
			姓名：<input type="text" name="name" value="<%=upName%>"><br>
			性别：<input type="text" name="sex" value="<%=upSex%>">
			出生年月：<input type="text" name="birth" value="<%=upBirth%>"><br>
			联系方式：<input type="text" name="phoneNumber" value="<%=upPhone%>">
			地址：<input type="text" name="address" value="<%=upAddress%>"><br>
			<input type="submit" name="method" value="确定">
			<input type="submit" name="method" value="返回主页面">
		</form>	
	</body>
</html>